package com.azdebugit.list.arraylist.settest;

/**
 * @Author: itdebug
 * @Email: itdebug
 * @version:: design_pattern_and_otherutils
 * @description:
 * @create: 2021/11/9 20:49.
 */
public class TestMain {
    public static void main(String[] args) {
       /* List<AccountVo> list = response.getData().getItems();
        本地查询出来的账户集合

        List<Account> towList = accountRepository.findAll();
        筛选差集代码

        List<AccountVo> distinctByUniqueList = list.stream()
                .filter(item -> !towList.stream()
                        .map(e -> e.getOwnerId())
                        .collect(Collectors.toList())
                        .contains(item.getOwnerId()))
                .collect(Collectors.toList());*/
    }
}
